package com.kgc.sbt.api;

import com.kgc.sbt.domain.OrderInfo;
import com.kgc.sbt.domain.OrderItem;

import java.util.List;

/**
 * @author Shan
 * @date 2021/6/22
 * @return
 * @description 订单api
 */

public interface OrderInfoApi {

    boolean insertOrderInfo(OrderInfo orderInfo);

    List<OrderInfo> queryOrderInfoByUserId(Integer userId);

    boolean deleteOrderInfo(Integer orderInfoId);

    boolean modOrderStatus(String orderNumber,Integer status);

    /**
     * Created on 2021/6/25
     * Author: GongMingJie
     * @param
     * @return
     * Description: 根据订单编号查询订单信息
     */
    OrderInfo getOrderInfoByOrderNumber(String orderNumber);

    boolean sendOrder(String orderNumber,String trackNo);



}
